package com.cloudfun.campusshare.common.model.vo;


import com.cloudfun.campusshare.common.constant.ProductType;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author linyangping
 * @Title: 设备绑定vo
 * @date 2019/11/6 下午2:27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "设备列表信息")
public class DeviceListVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备编号")
    private String deviceNumber;

    @ApiModelProperty(value = "设备所在场所")
    private String devicePlace;

    @ApiModelProperty(value = "设备具体地址")
    private String address;

    @ApiModelProperty(value = "设备型号")
    private String deviceType;

    @ApiModelProperty(value = "设备二维码")
    private String qrCode;

    @ApiModelProperty(value = "设备识别码")
    @JsonProperty("deviceId")
    private String imei;

    @ApiModelProperty(value = "机器码")
    @JsonProperty("machineId")
    private String machineNo;

    @ApiModelProperty(value = "用户Id")
    private String userId;

    @ApiModelProperty(value = "绑定时间")
    private String bindTime;

    @ApiModelProperty(value = "产品类型")
    private ProductType productType;

    @ApiModelProperty(value = "上次交互时间")
    private String lastInteractionTime;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "设备洗衣点具体位置")
    private String deviceAddress;

    @ApiModelProperty(value = "iccid")
    private String iccid;

    @ApiModelProperty(value = "设备是否上线")
    private Boolean online;
}
